//
//  NKMingYiView.m
//  NewKY
//
//  Created by Dee on 2016/11/14.
//  Copyright © 2016年 Dee. All rights reserved.
//

#import "NKMingYiView.h"
#import <SDCycleScrollView.h>
@implementation NKMingYiView

- (instancetype)initWithCoder:(NSCoder *)coder
{
    self = [super initWithCoder:coder];
    if (self) {
        
        self.width = [UIScreen mainScreen].bounds.size.width;
     
        SDCycleScrollView *textScroll = [[SDCycleScrollView alloc]initWithFrame:CGRectMake(180, 5, 160, 30)];
        
        textScroll.onlyDisplayText = YES;
        textScroll.titlesGroup = @[@"NewKY项目组",@"狼牙山五壮士",@"营长:屠老师",@"大壮士: 孙迪",@"二壮士: 罗浩林",@"三壮士: 杨婷",@"四壮士: 穆学强",@"小弟: 徐腾"];
        textScroll.titleLabelBackgroundColor = [UIColor clearColor];
        textScroll.titleLabelTextColor = [UIColor colorWithHexString:@"333333"];
        
        [self addSubview:textScroll];
        
        
    }
    return self;
}

@end
